package com.dhsc.controller.ywhc;

import com.dhsc.domain.jkzx.ywhc.HjfzmxVo;
import com.dhsc.domain.jkzx.ywhc.ShkhmxVo;
import com.dhsc.domain.yypt.LayuiTableVo;
import com.dhsc.domain.yypt.ResponseObject;
import com.dhsc.service.ywhc.IShkhmxService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * @author 收函客户明细查询
 * @date 2024/7/5 15:45
 */
@Controller
@RequestMapping("/ywhc")
public class ShkhmxController {

    @Autowired
    private IShkhmxService shkhmxService;

    /**
     * @Description:查询收函客户明细
     * @return: com.dhsc.domain.yypt.LayuiTableVo
     * @Author: CDW
     * @Date: 2024/7/5 15:47
     * @param s:
     */
    @RequestMapping("/queryShkhmxInfo")
    @ResponseBody
    public LayuiTableVo queryShkhmxInfo(ShkhmxVo s)
    {
        return shkhmxService.queryShkhmxInfo(s);
    }

    /**
     * @Description:查询重点监控账户信息
     * @return: com.dhsc.domain.yypt.LayuiTableVo
     * @Author: CDW
     * @Date: 2024/7/8 9:54
     * @param s:
     */
    @RequestMapping("/queryZdjkzhmxInfo")
    @ResponseBody
    public LayuiTableVo queryZdjkzhmxInfo(ShkhmxVo s)
    {
        return shkhmxService.queryZdjkzhmxInfo(s);
    }

    /**
     * @Description:异常交易账户限制查询
     * @return: com.dhsc.domain.yypt.LayuiTableVo
     * @Author: CDW 
     * @Date: 2024/7/8 14:49
     * @param s: 
     */
    @RequestMapping("/queryYcjyzhxzcxInfo")
    @ResponseBody
    public LayuiTableVo queryYcjyzhxzcxInfo(ShkhmxVo s)
    {
        return shkhmxService.queryYcjyzhxzcxInfo(s);
    }

    /**
     * @Description:新增/修改异常交易账户
     * @return: com.dhsc.domain.yypt.LayuiTableVo
     * @Author: CDW
     * @Date: 2024/7/8 15:58
     * @param s:
     */
    @RequestMapping("/saveXzcsxx")
    @ResponseBody
    public ResponseObject saveXzcsxx(ShkhmxVo s)
    {
        return shkhmxService.saveXzcsxx(s);
    }


    /**
     * @Description:函件类型分值明细查询
     * @return: com.dhsc.domain.yypt.LayuiTableVo
     * @Author: CDW
     * @Date: 2024/7/9 11:13
     * @param h:
     */
    @RequestMapping("/queryHjfxmxcx")
    @ResponseBody
    public LayuiTableVo queryHjfxmxcx(HjfzmxVo h)
    {
        return shkhmxService.queryHjfxmxcx(h);
    }

    /**
     * @Description:新增/修改函件分值
     * @return: com.dhsc.domain.yypt.ResponseObject
     * @Author: CDW
     * @Date: 2024/7/9 14:27
     * @param h:
     */
    @RequestMapping("/saveHjfxmx")
    @ResponseBody
    public ResponseObject saveHjfxmx(HjfzmxVo h)
    {
        return shkhmxService.saveHjfxmx(h);
    }

    /**
     * @Description:删除函件信息
     * @return: com.dhsc.domain.yypt.ResponseObject
     * @Author: CDW
     * @Date: 2024/7/9 14:39
     * @param h:
     */
    @RequestMapping("/deleteHjfxmxcx")
    @ResponseBody
    public ResponseObject deleteHjfxmxcx(HjfzmxVo h)
    {
        return shkhmxService.deleteHjfxmxcx(h);
    }

}
